package cn.wolfcode.cms.util;

import lombok.Getter;
import lombok.Setter;


//ajax请求返回json格式数据对象
@Setter
@Getter
public class JSONResult {
    //默认是成功状态
    private boolean success = true;
    private String msg;
    //表示失败状态
    public void mark(String msg){
        this.success = false;
        this.msg = msg;
    }
}
